import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//修改 根节点字体大小，（可以 使用 手动监听屏幕宽度变化 改变根节点字体大小 或  媒体查询 替换 此框架）
import 'lib-flexible'

import './common/style/base.scss'

import { Button, Card, Tabbar, TabbarItem, Icon,  Swipe, 
    SwipeItem, Image as VanImage, Field, Toast, SwipeCell, Checkbox, Stepper, SubmitBar   } from 'vant';
  Vue.use(Button).use(Card).use(Tabbar).use(TabbarItem).use(Icon).use( Swipe).use(SwipeItem)
      .use(VanImage).use(Field).use(Toast).use(SwipeCell).use(Checkbox).use(Stepper ).use(SubmitBar )

Vue.config.productionTip = false
import './assets/iconfont/iconfont.css'
import fastclick from 'fastclick'
fastclick.attach(document.body)

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')